package com.mvetc.entity;

import java.util.List;

public class User {
	
	private String userId;					//用户账号
	private String userName;				//用户名
	private String userPassword;			//用户密码
	private String userPicture;				//用户头像
	private String memberStatus;			//用户状态0普通用户1会员用户
	
	private List<Movie> browseMovieList;
	private List<Movie> collectMovieList;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getUserPicture() {
		return userPicture;
	}
	public void setUserPicture(String userPicture) {
		this.userPicture = userPicture;
	}
	public String getMemberStatus() {
		return memberStatus;
	}
	public void setMemberStatus(String memberStatus) {
		this.memberStatus = memberStatus;
	}
	public List<Movie> getBrowseMovieList() {
		return browseMovieList;
	}
	public void setBrowseMovieList(List<Movie> browseMovieList) {
		this.browseMovieList = browseMovieList;
	}
	public List<Movie> getCollectMovieList() {
		return collectMovieList;
	}
	public void setCollectMovieList(List<Movie> collectMovieList) {
		this.collectMovieList = collectMovieList;
	}
	public User() {
		super();
	}
	public User(String userId, String userName, String userPassword, String userPicture, String memberStatus,
			List<Movie> browseMovieList, List<Movie> collectMovieList) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userPicture = userPicture;
		this.memberStatus = memberStatus;
		this.browseMovieList = browseMovieList;
		this.collectMovieList = collectMovieList;
	}
	
	public User(String userId, String userName, String userPassword, String userPicture, String memberStatus) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPassword = userPassword;
		this.userPicture = userPicture;
		this.memberStatus = memberStatus;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPassword=" + userPassword + ", userPicture="
				+ userPicture + ", memberStatus=" + memberStatus + ", browseMovieList=" + browseMovieList
				+ ", collectMovieList=" + collectMovieList + "]";
	}
	
	
}
